package com.wps.wdztv6.domain.edit;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@Builder
public class FileVersionCallback {
    
    @JSONField(name="file")
    private File file;
        
	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	@Getter
	@Setter
	@Builder
	public static class File {
	    
	    @JSONField(name = "id")
	    private String id;
	    
	    @JSONField(name="name")
	    private String name;
	    
	    @JSONField(name="version")
	    private int version;
	    
	    @JSONField(name="size")
	    private long size;
	    
	    @JSONField(name="creator")
	    private String creator;
	    
	    @JSONField(name="create_time")
	    private long createTime;
	    
	    @JSONField(name="modifier")
	    private String modifier;
	    
	    @JSONField(name="modify_time")
	    private long modifyTime;
	    
	    @JSONField(name="download_url")
	    private String downloadUrl;

	}
	
}
